package com.mls.fivedistrict.enums;

/**
 * 积分产生频率枚举
 * Created by chenxiuxiang on 2018/3/21.
 */
public enum IntegralProduceFrequencyEnum {
    HALFHOURS("半小时", 30),
    ONEHOURS("一小时", 60),
    TWOHOURS("两小时", 120),
    THREEHOURS("三小时", 180),
    FOURHOURS("四小时", 240),
    FIVEHOURS("五小时", 300),
    SIXHOURS("六小时", 360),
    SEVENHOURS("七小时", 420),
    EIGHTHOURS("八小时", 480),
    NINEHOURS("九小时", 540),
    TENHOURS("十小时", 600),
    ELEVENHOURS("十一小时", 660),
    TWELVEHOURS("十二小时", 720);
    private String name;
    private int value;

    IntegralProduceFrequencyEnum(String name, int minute) {
        this.name = name;
        this.value = minute;
    }

    public String getName() {
        return name;
    }

    public void setName(String code) {
        this.name = code;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }
}
